<?php
	session_start();
	$cigperday = $_REQUEST['cig-per-day'];
	$spendperwk = $_REQUEST['spend-per-wk'];
	$savinggoal = $_REQUEST['saving-goal'];
	if ($cigperday != '') {
		$_SESSION['initial-smoke-per-day'] = $cigperday;
	}
	if ($spendperwk != '') {
		$_SESSION['spend-per-week'] = $spendperwk;
	}
	if ($savinggoal != '') {
		$_SESSION['savings-goal'] = $savinggoal;
	}
	header("Location: settings.php"); 
?>